<div class="content-section implementation GridDemo" id="myContent" >
    <div class="title col-sm-12">
        <div class="col-sm-1">
            <span>{{formTitle}}</span>
        </div>
        <div class="col-sm-11 pull-right">
            <button type="button"
                    class="pull-right"
                    pButton
                    (click)="goBack()"
                    icon="fa-close"
                    style="width: 30px"></button>
        </div>
    </div>
    <form [formGroup]="myForm" class="form-horizontal">
        <app-access-simple-reason-form (unaccessTableDatasEimitter)="unaccessTableDatasEimitter($event)"></app-access-simple-reason-form>
        <div class="form-group ">
            <label class="col-sm-2 control-label">
                <span ngClass="start_red">*</span>
                审批意见：</label>
            <div class="col-sm-10 ui-no-padding-left-15px ui-fluid">
                <input type="text" pInputText
                       formControlName="approve_remarks"
                       [(ngModel)]="formObj.approver_remarks"/>
                <app-field-error-display [displayError]="isFieldValid('approve_remarks')" errorMsg="不能为空"></app-field-error-display>
            </div>
        </div>
        <div class="form-group ">
            <div class="col-sm-12 padding-left-2vw">
                <app-unaccess-equip-table #unaccessEquipTabel></app-unaccess-equip-table>
            </div>
        </div>
        <div class="form-group ">
            <div class="col-sm-12 ui-no-padding-left-15px ">
                <button class="pull-right  ui-button-secondary" pButton type="button"  label="不通过" (click)="operate('no')"></button>
                <button class="pull-right ui-margin-right-10px" pButton type="button" (click)="operate('reject')" label="驳回" ></button>
                <button  class="pull-right ui-margin-right-10px" pButton type="button" (click)="operate('yes')" label="通过" ></button>
            </div>
        </div>
        <!--<app-access-select-equipments [display]="controlDiaglog" (displayEmitter)="dcontrolDialogHandler($event)"></app-access-select-equipments>-->
        <!--<app-access-import-equips *ngIf="showAddMask" [state]="state" (closeAddMask)="removeMask($event)" (addDev)="addDevice($event)"></app-access-import-equips>-->
    </form>
</div>
